﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for BillDetailsBUS
/// </summary>
public class BillDetailsBUS
{
    BillDetailsDAL billDetailDAL = new BillDetailsDAL();
	public BillDetailsBUS()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public DataTable returnBillDetailsByID(int id) {
        return billDetailDAL.getBillDetailsById(id);
    }

    public bool insertBillDetails(int billID, string bouquetID, int quantity, float amount) {
        return billDetailDAL.insertBillDetails(billID,bouquetID,quantity,amount);
    }
}